<script>
  const mouseEnter = () => {
    console.log("mouse enter");
  };
  const mouseLeave = () => {
    console.log("mouse leave");
  };
</script>

<svelte:body on:mouseenter={mouseEnter} on:mouseleave={mouseLeave} />
<main>
  <h1>Hello World</h1>
</main>
